package com.baizhi.user.service.impl;

import com.baizhi.user.entity.Menu;
import com.baizhi.user.dao.MenuMapper;
import com.baizhi.user.service.IMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 菜单管理 服务实现类
 * </p>
 *
 * @author zhenggang
 * @since 2022-02-24
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements IMenuService {
    @Override
    public List<Menu> selectMyMenu(Integer userid) {
        return baseMapper.selectMyMenu(userid);
    }
}
